package com.xl.xlserver.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class ServiceConpent {
    @Autowired
    private GameUserService gameUserService;
    @Autowired
    private GameDistrictService gameDistrictService;
    @Autowired
    private  GamePlayService gamePlayService;

     public   static  GameUserService GameUserService;

     public  static  GameDistrictService GameDistrictService;
    public  static  GamePlayService GamePlayService;
    @PostConstruct
    public void init() {
        GameUserService = gameUserService;
        GamePlayService  = gamePlayService;
        GameDistrictService = gameDistrictService;
    }
}
